<template>
  <div>
    <ul>
      <li v-for="item in data">
        <!-- {{item.meta.title}}  --> {{item.path}} -->
        {{item.children.length}} pid {{item.meta.pid}}
      </li>
    </ul>
    
  </div>
</template>

<script>
// import router from '../router'
export default {
  created() {
      // console.log(this.$router.getRoutes())
    },
    
  data() {
    return {
      r:this.$router.getRoutes()
    }
  },
  computed:{
    data(){
      return this.r
    }
  }
}
</script>

<style>

</style>